<div ui-view>
	<div class="p-environment-list">
		<bread-crumb link-data="vm.breadCrumbArr"></bread-crumb>
	<div class="pt-2">
		<!--<div class="toolbar">
			<a class="btn btn-default-dark" ng-click="vm.create()">
				<span class="fa fa-plus"></span>
				<span>创建</span>
			</a>
			<input class="input pull-right" ng-model="vm.query" ng-change="vm.changePager()" placeholder="输入名称搜索"></div>-->
		<div class="row">
			<div class="col-sm-3" ng-repeat="environ in vm.environData track by $index">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">{{environ.EnvironName}}</h3>
					</div>
					<div class="panel-body">
						<div class="row"  ng-repeat="component in environ.component track by $index">
							<div class="col-sm-12">
								<div style="border:1px solid #E1E9EE;margin-bottom:5px;padding:10px;background:#E1E9EE;border-radius: 3px;" >
									<div style="float:right;"><img ng-if="component.comp_type=='2'" width="16" height="16" src="./images/edit.png" ng-click="vm.fnedit(environ.id,component.component_id)" alt="编辑" title="编辑" /></div>
									<div>组件：{{component.component_name}}</div>
									<div ng-repeat="property in component.c_property">
										{{property.property_lable + "：" + property.property_value}}
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</div>